package com.foo.common.base.utils.laboratory.singleton;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public enum FooSingleton {

	INSTANCE(0), INIT_STATUS(0), CHECK_STATUS(0);

	private final int status;

	private FooSingleton(int status) {
		this.status = status;
	}

	public int status() {
		return status;
	}

	private final Logger logger = LoggerFactory.getLogger(FooSingleton.class);

	public void doSomething() {
		logger.info("ref from the singleton here.");
	}

}
